<?php
//header("Content-type:text/html;Charset=UTF-8");
//header("Content-type:text/html;Charset=GBK");
include_once "OpenApiV3.php";

$appid = "100664385";
$appkey = "5f264e866128ac4b7e49b5ceba123938";
$server_name = "119.147.19.43";//正式环境：openapi.tencentyun.com。测试环境：119.147.19.43。
$apier = new OpenApiV3($appid, $appkey);
$apier->setServerName($server_name);
//$result = $apier->api("v3/user/get_info", $params);

//echo "结果是".$result;
//var_dump($result);

echo "openidGET=".$_GET["openid"];
echo "<br>";
echo "openkeyGET=".$_GET["openkey"];
echo "<br>";
echo "seqidGET=".$_GET["seqid"];
echo "<br>";
echo "serveridGET=".$_GET["serverid"];
echo "<br>";
echo "pfkeyGET=".$_GET["pfkey"];
echo "<br>";
echo "HTTP_REFERER=";
echo $_SERVER["HTTP_REFERER"]; 
echo "<br>";
echo "SERVER_NAME=";
echo$_SERVER['SERVER_NAME'];
?>

